﻿@model Dziennik_MVC.Models.Entities.Studenci

@{
    ViewBag.Title = "Usuwanie Studenta";

    Layout = "~/Areas/Admin/Views/Shared/_AdminLayout.cshtml";
}
@using (Html.BeginForm()) {
<fieldset>
    <legend>Usuń studenta</legend>

     <div>
        @Html.LabelFor(model => model.login)
        @Html.TextBoxFor(model => model.login, new { disabled = "disabled" })

        @Html.LabelFor(model => model.imie)
        @Html.TextBoxFor(model => model.imie, new { disabled = "disabled" })

        @Html.LabelFor(model => model.nazwisko)
        @Html.TextBoxFor(model => model.nazwisko, new { disabled = "disabled" })

        @Html.LabelFor(model => model.nr_indeksu)
        @Html.TextBoxFor(model => model.nr_indeksu, new { disabled = "disabled" })
    </div>

    <input type="submit" value="Usuń" /> 
</fieldset>
}
    <p>        
        @Html.ActionLink("powrót do listy studentów", "List")
    </p>
